package com.gdupt.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gdupt.entity.DataDictionary;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface IDataDictionaryService extends IService<DataDictionary> {
    boolean add(DataDictionary dataDictionary);
    boolean edit(DataDictionary dataDictionary);
    List<DataDictionary> search(IPage page  ,@Param(value ="dataType") String dataType, @Param(value = "dataEntry") String dataEntry,@Param(value = "dataValue") String dataValue);
    boolean del(int id);
  //  boolean findId(int id);
}
